Fix previous change that broke faces in bidirectional text.
authorEli Zaretskii <eliz@gnu.org>
Fri, 22 Jul 2011 14:09:51 +0000 (17:09 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 22 Jul 2011 14:09:51 +0000 (17:09 +0300)
commit1b016ac5c567c65dae78ea7d0adec7bc284185b5
treebe221ace04a4e42cfb7a15f247c43b0ba25cc552
parent36365dacbe177262adaa94a919b76fafc4daa8eb
Fix previous change that broke faces in bidirectional text.

 src/xdisp.c (compute_stop_pos_backwards): New function.
 (handle_stop_backwards): Revert last change.
 (next_element_from_buffer): Call compute_stop_pos_backwards to
 find a suitable prev_stop when we find ourselves before
 base_level_stop.  Remove the funky search for 1000 character
 positions back.
src/ChangeLog
src/xdisp.c